package com.example.demo.controller;

import com.example.demo.entity.LiveRecords;
import com.example.demo.service.LiveRecordsService;
import com.example.demo.util.Result;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * (LiveRecords)表控制层
 *
 * @author makejava
 * @since 2025-04-22 14:35:14
 */
@RestController
@RequestMapping("/liveRecords")
public class LiveRecordsController {
    /**
     * 服务对象
     */
    @Resource
    private LiveRecordsService service;

    @RequestMapping(value = "/queryAll", method = RequestMethod.GET)
    public Result queryAll(LiveRecords liveRecords){
        return service.queryAll(liveRecords);
    }
}

